 /* 基础样式重置和全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.header h1 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.header p {
    color: #86868b;
    font-size: 1.1em;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.card h2 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

/* 状态网格 */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.status-item {
    background: #f6f6f6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.status-item.active {
    background: #d4edda;
    border: 2px solid #28a745;
}

.status-item.inactive {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

/* cURL导入区域样式 */
.curl-import-section {
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.curl-import-header {
    background: #f6f6f6;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.2s ease;
}

.curl-import-header:hover {
    background: #ebebeb;
}

.curl-import-header label {
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
    margin: 0;
}

.toggle-icon {
    font-size: 14px;
    color: #86868b;
    transition: transform 0.2s ease;
}

.toggle-icon.collapsed {
    transform: rotate(-90deg);
}

.curl-import-content {
    padding: 16px;
    background: white;
    transition: max-height 0.3s ease;
}

.curl-import-content.hidden {
    display: none;
}

.curl-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.curl-help {
    margin-top: 10px;
    padding: 8px 12px;
    background: #f0f8ff;
    border-radius: 4px;
    border-left: 3px solid #007aff;
}

.curl-help small {
    color: #666;
    font-size: 0.9em;
}